<template>
    <div>
        <a class="btn btn-blue" @click="clickme">点我，进化版</a>
    </div>
</template>
<script>
    export default {
        name:'alert-commonn',
        methods:{
          clickme(){
            App.customAlert({
              title:'点击按钮会输出按钮的名字',
              confirms:['确认美丽','确认帅气'],
              cancels:['取消yangqi','取消骚气']
            }).then((res)=>{
              console.log('resolve:'+res)
            },(res)=>{
              console.log('reject:'+res)
            })
          }
        }
    }
</script>
